package com.itshizhan.itjidancideveloper.response;

public enum CodeMsgEnum {
	SUCCESS(1,"成功"),
	Fail(0,"失败"),
	UNKNOWN_ERROR(500,"服务异常"),
	ERROR_PARAMETER(4000, "参数错误")
	;

	private final Integer code;
	private final String msg;

	CodeMsgEnum(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public Integer getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}
}
